/**
 *	UI Layout Callback: resizePaneAccordions
 *
 *	This callback is used when a layout-pane contains 1 or more accordions
 *	- whether the accordion a child of the pane or is nested within other elements
 *	Assign this callback to the pane.onresize event:
 *
 *	SAMPLE:
 *	< jQuery UI 1.9: $("#elem").tabs({ show: $.layout.callbacks.resizePaneAccordions });
 *	> jQuery UI 1.9: $("#elem").tabs({ activate: $.layout.callbacks.resizePaneAccordions });
 *	$("body").layout({ center__onresize: $.layout.callbacks.resizePaneAccordions });
 *
 *	Version:	1.2 - 2013-01-12
 *	Author:		Kevin Dalman (kevin.dalman@gmail.com)
 */
(function(c){var a=c.layout;a.callbacks||(a.callbacks={});a.callbacks.resizePaneAccordions=function(a,b){(b.jquery?b:c(b.newPanel||b.panel)).find(".ui-accordion:visible").each(function(){var a=c(this);a.data("accordion")&&a.accordion("resize");a.data("ui-accordion")&&a.accordion("refresh")})}})(jQuery);